import { Button } from 'antd';
import { Link } from 'react-router-dom';
import { LeftOutlined } from '@ant-design/icons';

function BackBtn() {
  return (
    <Button type="text" icon={<LeftOutlined />}>
      <Link to="/">返回</Link>
    </Button>
  );
}

export default BackBtn;
